]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Add Math.clamp
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 2 Jun 2020 03:41:43 +0000 (00:41 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 3 Jun 2020 15:55:53 +0000 (12:55 -0300)
commit8154728d09351fd95039b38f8bc82f6ee202ddc3
treed6d52be163b545d3546d323f5ce19a2e512c7170
parent5569090d1cf4077c24581a8b2076b699829eefd0
environment: Add Math.clamp

The good old clamp function, now part of the Math family.
Clamp is happy after so many years of loneliness.

This is a strict implementation of the draft ECMAScript
proposal.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295
js/ui/appDisplay.js
js/ui/environment.js
js/ui/iconGrid.js
js/ui/status/location.js
js/ui/swipeTracker.js